/* eslint-disable */
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import './assets/element-dark-theme/index.css'
import VueAMap from 'vue-amap'
import axios from 'axios'


Vue.config.productionTip = false
axios.defaults.baseURL='http://47.112.111.29:3000/api'
Vue.prototype.$axios=axios

Vue.use(VueAMap)
VueAMap.initAMapApiLoader({
  key: '1b9748a63dc84424b41d635ea29d5d64',
  plugin: ['AMap.DistrictSearch','AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor'],
  v: '1.4.4'
});


new Vue({
  router,
  store,
  render: h => h(App),
  data:{
    eventHub:new Vue()
  }
}).$mount('#app')
